    <extend name="base"/>
    <block name="main">
		<ul class="nav nav-pills nav-justified nav-tab">
		  <li><a href="{:U('Admin/Index/photoalbummanage?op=album')}">相册</a></li>
		  <li class="active"><a href="{:U('Admin/Index/photoalbummanage?op=theme')}">主题</a></li>
		</ul>
<div class="panel-body table-responsive"> 
     <table class="table table-hover"> 
      <thead class="navbar-inner"> 
       <tr> 
        <th>id</th> 
        <th>名称</th>
        <th>图片</th> 
        <th>设置</th> 
       </tr> 
      </thead> 
      <tbody> 
      <volist name="datalist" id="dataitem">
      <tr>  
        <td>{$dataitem.id}</td> 
        <td>{$dataitem.themename}</td> 
        <td><img src="{$dataitem.photoframeimgurl}" style="width:50px;height:50px;"/>
        <td><a href="{:U('Admin/Index/photoalbummanage')}&op=themesetting&themeid={$dataitem.id}" class="btn btn-default btn-sm" title="修改"><i class="glyphicon glyphicon-cog"></i></a> <a href="{:U('Admin/Index/photoalbummanage')}&op=themedelete&themeid={$dataitem.id}" class="btn btn-default btn-sm" onclick="return confirm('确认删除主题?')" title="删除"><i class="glyphicon glyphicon-remove"></i></a> </td> 
       </tr>    
       </volist>    
       <tr><td colspan="4" style="text-align:left;"> <a class="btn btn-default" href="{:U('Admin/Index/photoalbummanage')}&op=themeadd"><i class="glyphicon glyphicon-plus"></i> 添加主题</a></td></tr> 
       
      </tbody> 
     </table> 
    </div>
	</block>
	
	